package light.head.dao.inv;

import java.util.List;

import org.springframework.stereotype.Service;

import light.head.framework.base.BaseDAO;
import light.head.model.inv.InvInStorageItem;
@Service
public class InvInStorageItemDAO extends BaseDAO<InvInStorageItem, Integer>{
	private final static String sql_findIisc = "FROM InvInStorageItem item WHERE item.deleted = 0 AND item.iisc = ?";
	/**
	 * 通过入库编号查询入库详情
	 * @param iisc		入库编号
	 */
	public List<InvInStorageItem> findIisc(Integer iisc) {
		if (null == iisc) return null;
		return find(sql_findIisc, null, null, iisc);
	}
	
	
}
